package com.ktjy;

import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;

@Target(FIELD)
@Retention(RUNTIME)
@Documented
public @interface FruitColor {
    public enum Color {BLUE,RED,GREEN}

    Color fruitColor() default Color.GREEN;
}
